package com.myj.jim.service;

import java.util.List;
import java.util.Map;

import com.myj.jim.domain.Role;
import com.myj.jim.domain.RoleAuthority;
import com.myj.jim.domain.bootstraptable.BootstrapTable;
import com.myj.jim.domain.bootstraptable.BootstrapTableJSON;

public interface RoleService {
	public BootstrapTableJSON<Role> findPage(Map<String,Object> map);
	
	public Role edit(Integer id);
	
	public Boolean save(Role role,String[] checkedAuthArr);
	
	public Boolean update(Role role, String[] checkedAuthArr);
	
	public Boolean delete(Integer id);
	
	public Boolean isExist(String roleno);
	
	public List<RoleAuthority> selectRoleAuthorityByRoleno(String roleno);
	
	public Role getRoleById(Integer id);
}
